package com.strive.village.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class TbVillage {

    private static final long serialVersionUID = 1L;

    /**
     * 村名id
     */
    @TableId(value = "village_id", type = IdType.AUTO)
    private Integer villageId;

    /**
     * 村名
     */
    private String villageName;

    /**
     * 所属县/区
     */
    private String county;

    /**
     * 所属省份
     */
    private String province;

    /**
     * 人口数
     */
    private Integer population;

    /**
     * 村镇建立时间
     */
    private LocalDate establishData;

    /**
     * 村庄描述
     */
    private String description;


}
